addition array numpy

33

data = np.array([1, 2])
ones = np.ones(2, dtype=int)
data + ones

Comments

Submit
0 Comments